const router = require('./router');
/**
 * 首页
 */
router.get('/', async (ctx) => {
    ctx.body = await ctx.render('home', ctx.viewData)
})
router.get('/home', async (ctx) => {
    ctx.body = await ctx.render('home', ctx.viewData)
})

router.get('/zixunList', async (ctx) => {
    ctx.body = await ctx.render('zixunList', ctx.viewData)
})

router.get('/about', async (ctx) => {
    ctx.body = await ctx.render('about', ctx.viewData)
})

router.get('/fuwu', async (ctx) => {
    ctx.body = await ctx.render('fuwu', ctx.viewData)
})
router.get('/register', async (ctx) => {
    ctx.body = await ctx.render('register', ctx.viewData)
})
router.get('/cycx', async (ctx) => {
    ctx.body = await ctx.render('cycx', ctx.viewData)
})
router.get('/scdj', async (ctx) => {
    ctx.body = await ctx.render('scdj', ctx.viewData)
})
router.get('/jrpt', async (ctx) => {
    ctx.body = await ctx.render('jrpt', ctx.viewData)
})
router.get('/institutionalInfo', async (ctx) => {
    ctx.body = await ctx.render('institutionalInfo', ctx.viewData)
})
router.get('/account', async (ctx) => {
    ctx.body = await ctx.render('account', ctx.viewData)
})
router.get('/ztc', async (ctx) => {
    ctx.body = await ctx.render('ztc', ctx.viewData)
})